package com.sunl.mall.common.error;

import lombok.Getter;

public enum ErrorCodeEnum implements CommonError {
    SUCCEED_CODE(0, "成功"),
    BIZ_ERROR(1099, "业务异常"),
    ERR_REMOTE_ACCESS_ERROR(1994, "远程访问出错"),
    ;
    @Getter
    private int errorCode;
    @Getter
    private String errorDesc;

    ErrorCodeEnum(int errorCode, String errorDesc) {
        this.errorCode = errorCode;
        this.errorDesc = errorDesc;
    }
}
